package cn.akwangl.design.pattern.behavioral.iterator;

/**
 * 抽象聚合
 *
 * @author youyongkun
 * @date 2021/12/8 21:30
 */
public interface Aggregate {
    void add(Object obj);

    void remove(Object obj);

    Iterator getIterator();
}